package io.jft.doll.weidget

import android.graphics.Canvas
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.Drawable


/**
 * Created by G on 2017/12/21 0021.
 */
class UrlDrawable : BitmapDrawable() {
    var drawable: Drawable? = null
    override fun draw(canvas: Canvas) {
        if (drawable != null)
            drawable!!.draw(canvas)
    }
}